package com.yang.common.annotation;

import java.lang.annotation.*;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RedisLimitAnnotation {

    String key() default "";

    long permitsPerSecond() default 2;

    long expire() default 60;

    String msg() default "default message:系统繁忙or你点击太快,请稍后再试，谢谢";
}
